package com.yuanfeng.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.base.entity.BaseSystemMessageEntity;
import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @ClassName BaseSystemMessageService
 * @Description 系统消息服务
 * @Author liulh
 * @Date 2023/7/19 16:02
 * @Version 1.0
 **/
public interface BaseSystemMessageService extends IService<BaseSystemMessageEntity> {

    /**
     * 查询下单消息
     *
     * @param map
     * @return
     */
    ResponseResult querySysOrderNews(@RequestBody Map<String, Object> map);

    /**
     * 设置已读订单消息
     *
     * @param map
     * @return
     */
    ResponseResult readSysOrderNews(@RequestBody Map<Object, Object> map);

    /**
     * 删除系统下单消息(伪删除)
     *
     * @param map
     * @return
     */
    ResponseResult deleteSysOrderNews(@RequestBody Map<Object, Object> map);
}
